|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.rangetable.hci.RangeTableRowModel
public class RangeTableRowModel
This Java class represents a row in a range table or
in a subscriber range table; A row includes a set of business data items
as declared in the related range table class.
The upper bound is a number strictly positive. When the upper bound is not set, it is considered as unbounded.
RangeTableModel,
SubscriberRangeTableModel,
CommonRangeTableModel,
RangeTableColumnModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableRowType">
<xs:sequence>
<xs:element name="column" type="RangeTableColumnType" minOccurs="1" maxOccurs="15" />
</xs:sequence>
<xs:attribute name="upperBound" type="xs:decimal" use="optional" />
</xs:complexType>
| Field Summary | |
|---|---|
static java.lang.String |
RANGE_TABLE_COLUMN_TAG_NAME
|
static java.lang.String |
UPPER_BOUND__TAG_NAME
|
| Constructor Summary | |
|---|---|
RangeTableRowModel()
Default range table row model. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the Java class for a specified XML tag and its attributes in a namespace. |
java.util.List<RangeTableColumnModel> |
getColumns()
Gets all the columns contained in the row. |
java.math.BigDecimal |
getUpperBound()
Gets the upper bound of the row. |
boolean |
isUnbounded()
Checks if this row is unbounded. |
void |
marshal(XMLOutputter output)
Deprecated. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object. |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setUnbounded()
Sets this row as unbounded. |
void |
setUpperBound(java.math.BigDecimal upperBound)
Sets the upper bound of the row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RANGE_TABLE_COLUMN_TAG_NAME
public static final java.lang.String UPPER_BOUND__TAG_NAME
| Constructor Detail |
|---|
public RangeTableRowModel()
| Method Detail |
|---|
public java.math.BigDecimal getUpperBound()
public void setUpperBound(java.math.BigDecimal upperBound)
upperBound - The upper bound of the rowpublic boolean isUnbounded()
true if row is unbounded, false otherwisepublic void setUnbounded()
public java.util.List<RangeTableColumnModel> getColumns()
columns contained in the row.
public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallable
marshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes into
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
marshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects into@Deprecated public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface IXMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into
public java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.
getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tag
Java class with a default constructor
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||